package com.travel.server.manager.dto.response.question;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.Data;

import java.util.List;

/**
 * @Author: LiZhenhui
 * @Date: 2018/11/16 19:04
 * @Desc:
 */
@Data
public class QueryQuestionDetailResponse {

    private String name;

    private String title;

    private String describe;

    @JSONField(name = "back_ground_url")
    private String backGroundUrl;

    @JSONField(name = "question_list")
    private List<QuestionItem> questionList;

    @Data
    public static class QuestionItem{

        private Integer id;

        private Integer type;

        private String question;

        @JSONField(name = "answer_list")
        private String answerList;
    }
}
